package com.kunlun.system.service;

import com.kunlun.common.model.Page;
import com.kunlun.system.model.SystemMachineModel;
import com.kunlun.system.model.vo.MachineInstanceVo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface ISystemMachineService {

    Page<MachineInstanceVo> getAllMachine(SystemMachineModel machineModel, int currentPage, int pageSize) throws Exception;

    void downloadTemplate(HttpServletRequest request, HttpServletResponse response, String type) throws Exception;

    void collectMonitor() throws Exception;

    MachineInstanceVo getMachineLineData(String id) throws Exception;

    List<MachineInstanceVo> getSystemMonitorData(String serviceName, String ipAddress, Integer pageSize) throws Exception;
}
